<?php

class {$className} extends f_core_View
{ldelim}
	public function execute()
	{ldelim}
		$values = $this->getModel();		
		$template = f_template_Template::getInstance()->disableCache();
		$template->setModuleTemplate("{$moduleName}", "block/{$templateName}");
		$template->assign("data", $values['data']);
		if(isset($values['foreignDocs']) and count($values['foreignDocs']) > 0)
		{ldelim}
			$template->assign("foreignDocs", $values['foreignDocs']);
		{rdelim}
		$template->renderDisplay();
	{rdelim}
{rdelim}